import request from '@/utils/request'

export function accountsReceivableOverview(data) {
    return request({
        url: '/accountsReceivable/accountsReceivableOverview',
        method: 'get',
        params: data,
    })
}

export function getAccountsReceivableList(data) {
    return request({
        url: '/accountsReceivable/getAccountsReceivableList',
        method: 'get',
        params: data,
    })
}

export function addAccountsReceivable(data) {
    return request({
        url: '/accountsReceivable/addAccountsReceivable',
        method: 'post',
        data,
    })
}

export function getAccountsReceivableDetailByID(data) {
    return request({
        url: '/accountsReceivable/getAccountsReceivableDetailByID',
        method: 'get',
        params: data,
    })
}
